<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<sec:authentication property="principal" var="currentPrincipal"
	scope="page" />

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>

</head>

<body class="ms-theme-blue">

	<%@ include file="/WEB-INF/include/header.jsp"%>

	<%@ include file="/WEB-INF/include/submenu.jsp"%>

	<div class="container-fluid ms-container has-ms-sidemenu">

		<ol class="ms-breadcrumb breadcrumb">
      <li class="active">结算收入成本分析</li>
    </ol>       
        
    <div class="ms-content-layout">
   
   <form class="form-horizontal ms-form form-personal-info" method="GET" action="${ctx.host}/shipment-cost-seach?target=search" data-validate="true" autocomplete="on">
    		<input type="hidden" name="filter" value="true" >
	        <input type="hidden" name="target" value="${target}">
	        <div class="form-group ms-form-group">
					<jsp:include page="/WEB-INF/jsps/business/select-company.jsp" >
						<jsp:param value="false" name="multiple"/>
					</jsp:include>
				<label class="col-xs-2 control-label">驳运车号（中文）：</label>
	          	<div class="col-xs-3">
	             <input type="text" name="vehicleName" class="form-control" 
                               placeholder="请填写驳运车号（中文）"  
                               tabindex="4">
	         	 </div>
           </div>   
        <div class="form-group ms-form-group">
	          <label class="col-xs-2 control-label">调度指令号：</label>
	          <div class="col-xs-3">
	             <input type="text" name="loadNumber" class="form-control" placeholder="调度指令号" tabindex="2">
	          </div>
	          <label class="col-xs-2 control-label">调度指令组号：</label>
	          <div class="col-xs-3">
	            <input type="text" name="loadGroupNumber" class="form-control" placeholder="请填写调度指令组号" tabindex="3">
	          </div>
        </div>
        <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">托运客户：</label>
          <div class="col-xs-3 modal-search-warp">
            <input type="text" name="customerString" class="form-control client-search modal-search" 
                               data-value-name="customerId" placeholder="请填写托运客户"  
                               data-modal-search="#modal-search-client" tabindex="4">
                               <input type="hidden" name="customerId"/>
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-client" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div>
          
          <label class="col-xs-2 control-label">制造商：</label>
           <div class="col-xs-3 modal-search-warp">
            <input type="text" name="manufactorString" class="form-control manufacturer-search modal-search" 
                               data-value-name="manufactorId" placeholder="请填写制造商"  
                               data-modal-search="#modal-search-manufacturer" tabindex="5">
                               <input type="hidden" name="manufactorId" />
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-manufacturer" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div>
        </div>
        <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">承接方公司：</label>
           <div class="col-xs-3 modal-search-warp">
            <input type="text" name="consignorString" class="form-control company-search modal-search" 
                               data-value-name="companyId" placeholder="请填写承接方公司"  
                               data-modal-search="#modal-search-company" tabindex="4">
                               <input type="hidden" name="companyId" />
                               
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-company" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div>
           <label class="col-xs-2 control-label">外包公司：</label>
          <div class="col-xs-3 modal-search-warp">
            <input type="text" name="outsourcingCompanyString" class="form-control company-search modal-search" 
                               data-value-name="companyId" placeholder="请填写外包公司"  
                               data-modal-search="#modal-search-company" tabindex="4">
                               <input type="hidden" name="companyId" />
                               
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-company" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div>
           
        </div>
        <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">起始地：</label>
          <div class="col-xs-3 modal-search-warp">
            <input type="text" name="srcWhString" class="form-control fromWarehouse-search modal-search" 
                               data-value-name="srcWhId" placeholder="请填写起始地"
                               data-modal-search="#modal-search-fromWarehouse" tabindex="6">
               <input type="hidden" name="srcWhId" />          
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-fromWarehouse" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div>
          <label class="col-xs-2 control-label">目的地：</label>
           <div class="col-xs-3 modal-search-warp">
            <input type="text" name="destWhString" class="form-control toWarehouse-search modal-search" 
                               data-value-name="destWhId" placeholder="请填写目的地"
                               data-modal-search="#modal-search-toWarehouse" tabindex="7">
                               <input type="hidden" name="destWhId" />
            <a href="javascript:void(0);" class="btn" data-target="#modal-search-toWarehouse" data-toggle="modal">
              <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
            </a>
          </div> 
        </div>
            <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">起始地城市：</label>
          <div class="col-xs-3">
	             <input type="text" name="srcCityName" class="form-control" placeholder="起始地城市" tabindex="2">
	          </div>
          <label class="col-xs-2 control-label">目的地城市：</label>
           <div class="col-xs-3">
	             <input type="text" name="destCityName" class="form-control" placeholder="目的地城市" tabindex="2">
	          </div>
          </div>
           <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">起始地所在省：</label>
          <div class="col-xs-3">
	             <input type="text" name="srcProvName" class="form-control" placeholder="起始地所在省" tabindex="2">
	          </div>
          <label class="col-xs-2 control-label">目的地所在省：</label>
           <div class="col-xs-3">
	             <input type="text" name="destProvName" class="form-control" placeholder="目的地所在省" tabindex="2">
	          </div>
          </div>
        
        <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">调度时间：</label>
          <div class="col-xs-8 common-date">
            <input type="text" name="shipmentStartDate" class="form-control date" placeholder="请填写调度开始日期" tabindex="9" autocomplete="off">
            <label class="control-label">到：</label>
            <input type="text" name="shipmentEndDate" class="form-control date" placeholder="请填写结束日期" tabindex="10" autocomplete="off">
          </div>
        </div>
          <div class="form-group ms-form-group">
	          <label class="col-xs-2 control-label">预计出发日期：</label>
	          <div class="col-xs-8 common-date">
              <input type="text" name="leavingStartDate" class="form-control date" placeholder="请填写预计出发最早时间" tabindex="8" autocomplete="off">
   	          <label class="control-label">到：</label>
              <input type="text" name="leavingEndDate" class="form-control date" placeholder="请填写预计出发最晚时间" tabindex="8" autocomplete="off">
	          </div>
	        </div>  
         <div class="form-group ms-form-group">
          <label class="col-xs-2 control-label">是否外包：</label>
          <div class="col-xs-3">
            <select class="select2 form-control" name="isOutsourcing" tabindex="10">
              <option></option>
              <option value="N">未外包</option>
              <option value="Y">已外包</option>
            </select>
          </div>
          </div>
          
        <div class="form-group ms-form-group">
            <div class="col-xs-6 col-xs-offset-3 ms-operation-group top-margin-20 text-center">
              <div class="col-xs-5">
                <button type="reset" class="btn btn-block btn-default btn-remove">重置</button>
              </div>
              <div class="col-xs-5">
                <button type="submit" class="btn btn-block btn-primary" tabindex="16">查询</button>
              </div>
            </div>
        </div>
        
    </form>
    </div> 

    </div> 

    

 <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource type="script" root="${ctx.resource}/build" src="js/page/report/cost-revenue-analysis.js" />
  <script type="text/javascript"></script>
	<script type="text/javascript">
		require([ 'page/report/cost-revenue-analysis' ], function(
				page) {
			page.init()
		})
		
	</script>

</body>
</html>